package com.hnhs.controller;

import com.hnhs.info.UploadInfo;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/api/upload")
public class UploadController {

    @PostMapping
    public String upload(UploadInfo uploadInfo){

        return "上传成功";
    }
}
